<?php
class Config{
	private static $instance = null;
	
	public $dbCredentials;
	
	private function __construct(){
		$this->dbCredentials = array(
								'username'		=> '',
								'password'		=> '',
								'hostname'		=> 'localhost',
								'db_name'		=> 'cms_0.6'
								);
		$this->siteOptions = array(
								'site-title'	=> 'webzijde',
								'theme'			=> 'basic',
								'theme-dir'		=> 'skins'
		);
	}
	
	private function __clone(){
		//enforece singleton
	}
	
	public static function getInstance(){
		return is_object(self::$instance) ? self::$instance : (self::$instance = new self() );
	}
	
}
